package com.philosophy.web.repository;

import com.philosophy.web.domain.generate.UrlMapping;

/**
 * @author philosophy
 */
public interface ShortUrlRepository {
    /**
     * 保存url
     *
     * @param originUrl originUrl
     * @return 短链接
     */
    UrlMapping save(String originUrl);
}
